﻿@using GoodMan.Infrastructure.Entities.Entity;
@{
    ViewBag.Title = "公告详情";
    Layout = "~/Areas/WorkSpace/Views/Shared/_CollegeAdminTemplete.cshtml";
    Notice noticeModel = ViewBag.NoticeModel;
}
@section head{
    <style type="text/css">
        .nav .active
        {
            /*background: url(<?php echo $this->img('manage_r2_c13.jpg');?>) no-repeat;*/
            background-color: #F5F5F5;
        }
        .nav .other
        {
            /* background: url(<?php echo $this->img('manage_r2_c14.jpg');?>) no-repeat;*/
            background-color: #E9E9E9;
        }
        h2.nav
        {
            border-bottom: 1px solid #B4C9C6;
            font-size: 13px;
            height: 25px;
            line-height: 25px;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        h2.nav a
        {
            color: #999999;
            display: block;
            float: left;
            height: 24px;
            width: 113px;
            text-align: center;
            margin-right: 1px;
            margin-left: 1px;
            cursor: pointer;
        }
    </style>
}
<div id="content-header">
    <h1>
        公告详情</h1>
</div>
<div id="breadcrumb">
    <a href="/workspace/collegeadmin/index" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>首页</a>
    <a href="/workspace/collegeadmin/NoticeList?page=@ViewBag.page" class="tip-bottom">公告管理</a> <a href="/workspace/collegeadmin/NoticeList?page=@ViewBag.page"
        class="current">公告列表</a> <a href="#" class="current">详细信息</a>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon"><i class="icon-align-justify"></i></span>
                    <h5>
                        发布公告</h5>
                </div>
                <div class="widget-content nopadding">
                 <form id="regform" action="" method="post" name="regform"
                    class="form-horizontal">
                    <div id="tab1">
                        <div class="control-group">
                            <label class="control-label">
                                标题</label>
                            <div class="controls">
                                @noticeModel.Title
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                子标题</label>
                            <div class="controls">
                                @noticeModel.SubTitle
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                内容</label>
                            <div class="controls">
                                @Html.Raw(noticeModel.Content)
                            </div>
                        </div>
                        <div class="form-actions">
                            <a href="/workspace/collegeadmin/NoticeList?page=@ViewBag.page"  class="btn btn-primary btn-mini">
                                返回</a> <a href="/workspace/collegeadmin/NoticeModify?id=@noticeModel.Id&page=@ViewBag.page" class="btn btn-primary btn-mini">
                                    编辑</a> <a href="/workspace/collegeadmin/Delete?id=@noticeModel.Id&page=@ViewBag.page"  onclick="if (confirm('确认删除数据？删除后该数据无法恢复！')==true){return true;}else{return false;}"  class="btn btn-danger btn-mini">
                                        删除</a>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

@section tail{
<script type="text/javascript">
    $(function () {      
        $('#likNotice').addClass('open');
        $('#likNotice').addClass('active');
    });
    </script>
}